projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39d211
)
stylecontext: Use right invalidation func
author
Benjamin Otte
<otte@redhat.com>
Tue, 19 Aug 2014 14:31:06 +0000
(16:31 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 20 Aug 2014 22:54:07 +0000
(
00:54
+0200)
gtk_style_context_invalidate_internal() will respect only the current
saved state of the style context, which is wrong when updating the scale.
In that case, the whole style context needs updating.
gtk/gtkstylecontext.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstylecontext.c
b/gtk/gtkstylecontext.c
index 47e427651207cb4cbab0a36d41d9c93eb19143cb..98085570567ab2c2f0dd7897cb01676fa69748fe 100644
(file)
--- a/
gtk/gtkstylecontext.c
+++ b/
gtk/gtkstylecontext.c
@@
-1323,7
+1323,7
@@
gtk_style_context_set_scale (GtkStyleContext *context,
context->priv->scale = scale;
-
gtk_style_context_queue_invalidate_internal
(context, GTK_CSS_CHANGE_SOURCE);
+
_gtk_style_context_queue_invalidate
(context, GTK_CSS_CHANGE_SOURCE);
}
/**